package com.baoleme.service;

import com.baoleme.dto.EmployeeLoginDTO;
import com.baoleme.dto.EmployeeModifyPasswordDTO;
import com.baoleme.dto.EmployeePageQueryDTO;
import com.baoleme.entity.Employee;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuyunbin
 * @since 2024-09-13
 */
public interface EmployeeService extends IService<Employee> {

    Map<String, String> login(EmployeeLoginDTO employeeLoginDTO);

    boolean modifyPassword(EmployeeModifyPasswordDTO employeeModifyPasswordDTO);

    boolean saveEmployee(Employee employee);

    boolean status(Employee employee);


    IPage<Employee> getPage(EmployeePageQueryDTO employeePageQueryDTO);


    boolean logout(String username);
}
